package com.ljy.my_study.spring.循环依赖.bean;

import com.ljy.my_study.spring.循环依赖.annotation.MyAutowired;
import com.ljy.my_study.spring.循环依赖.annotation.MyComponent;

@MyComponent
public class C {

    private String name;

    @MyAutowired
    private A a;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public A getA() {
        return a;
    }

    public void setA(A a) {
        this.a = a;
    }
}
